from quickword import creat_words_cloud as cwc
import pymongo

myclient = pymongo.MongoClient("mongodb://localhost:32768/")
mydb = myclient["work_object"]
mycol = mydb["twitter"]
 
strs = ''.join([x['content'] for x in mycol.find()])
cwc(strs,'Bitcoin.svg.png')